whole method